LCase (str)

LCase and LowerCase (str) are equivalent functions. However, LCase is preferred in Basic syntax, whereas LowerCase is preferred in Crystal syntax.

Argument

str is a text value

Returns

String value.

Action

LCase converts the given string to all lower case and returns it.

Typical use

A good use of this function is when a field contains both uppercase and lowercase letters and you want to convert all letters to lowercase for consistency.

Examples

The following examples are applicable to both Basic and Crystal syntax:

LCase ("Description")

Returns "description".

LCase ({customer.FIRST NAME})

Returns "ronald", where {customer.FIRST NAME} is "Ronald".

LCase ("Ronald Black")

Returns "ronald black".

LCase ("ABC12345")

Returns "abc12345".

LCase ("BrEaD " + "AND " + "bUtTeR")

Returns "bread and butter".

Comments
Related topics

UCase (str)



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com